package com.google.android.play.core.assetpacks;

import android.os.Handler;
import android.os.Looper;
import c.b.a.c.a.c.a;
import c.b.a.c.a.c.z;
import c.b.a.c.a.f.b;
import c.b.a.c.a.g.e;
import java.util.List;
import java.util.concurrent.Executor;

final class t2 {
    private static final a e = new a("AssetPackManager");

    /* renamed from: a  reason: collision with root package name */
    private final b0 f2629a;

    /* renamed from: b  reason: collision with root package name */
    private final z<i3> f2630b;

    /* renamed from: c  reason: collision with root package name */
    private final v f2631c;

    /* renamed from: d  reason: collision with root package name */
    private final z<Executor> f2632d;

    t2(b0 b0Var, z<i3> zVar, v vVar, b bVar, m1 m1Var, y0 y0Var, n0 n0Var, z<Executor> zVar2) {
        new Handler(Looper.getMainLooper());
        this.f2629a = b0Var;
        this.f2630b = zVar;
        this.f2631c = vVar;
        this.f2632d = zVar2;
    }

    private final void c() {
        e<List<String>> a2 = this.f2630b.a().a();
        b0 b0Var = this.f2629a;
        b0Var.getClass();
        a2.c(this.f2632d.a(), r2.a(b0Var));
        a2.b(this.f2632d.a(), s2.f2619a);
    }

    /* access modifiers changed from: package-private */
    public final void b(boolean z) {
        boolean d2 = this.f2631c.d();
        this.f2631c.c(z);
        if (z && !d2) {
            c();
        }
    }
}
